home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / develop™ Technical Journal / develop Issue 16 code / CollaboDraw.sea / CollaboDraw / IconSuites.h < prev    next >
MacBinary  |  1993-08-24  |  5.5 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Aug 24 15:23:55 1993, modified Tue Aug 24 15:23:55 1993, creator Think C, type ASCII, 4910 bytes "IconSuites.h" , at 0x13ae 428 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0c 49 63 6f 6e 53 75 | 69 74 65 73 2e 68 00 00 |..IconSu|ites.h..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 13 2e 00 | 00 01 ac a8 a0 1b 4b a8 |........|......K.|
|00000060| a0 1b 4b 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..K.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 4f 2b 00 00 |........|....O+..|
|00000080| 23 64 65 66 69 6e 65 09 | 74 74 4e 6f 6e 65 09 30 |#define.|ttNone.0|
|00000090| 0d 23 64 65 66 69 6e 65 | 20 61 74 4e 6f 6e 65 09 |.#define| atNone.|
|000000a0| 30 0d 0d 2f 2a 20 43 20 | 54 79 70 65 64 65 66 73 |0../* C |Typedefs|
|000000b0| 20 2a 2f 0d 0d 74 79 70 | 65 64 65 66 20 70 61 73 | */..typ|edef pas|
|000000c0| 63 61 6c 20 4f 53 45 72 | 72 20 20 20 28 2a 49 63 |cal OSEr|r (*Ic|
|000000d0| 6f 6e 41 63 74 69 6f 6e | 29 28 52 65 73 54 79 70 |onAction|)(ResTyp|
|000000e0| 65 20 74 68 65 54 79 70 | 65 2c 20 48 61 6e 64 6c |e theTyp|e, Handl|
|000000f0| 65 20 2a 74 68 65 49 63 | 6f 6e 2c 20 76 6f 69 64 |e *theIc|on, void|
|00000100| 20 2a 79 6f 75 72 44 61 | 74 61 50 74 72 29 3b 0d | *yourDa|taPtr);.|
|00000110| 74 79 70 65 64 65 66 20 | 70 61 73 63 61 6c 20 48 |typedef |pascal H|
|00000120| 61 6e 64 6c 65 20 20 28 | 2a 49 63 6f 6e 47 65 74 |andle (|*IconGet|
|00000130| 74 65 72 29 28 52 65 73 | 54 79 70 65 20 74 68 65 |ter)(Res|Type the|
|00000140| 54 79 70 65 2c 20 76 6f | 69 64 20 2a 79 6f 75 72 |Type, vo|id *your|
|00000150| 44 61 74 61 50 74 72 29 | 3b 0d 23 69 66 6e 64 65 |DataPtr)|;.#ifnde|
|00000160| 66 20 5f 5f 4f 43 45 53 | 54 41 4e 44 41 52 44 44 |f __OCES|TANDARDD|
|00000170| 49 52 45 43 54 4f 52 59 | 5f 5f 0d 74 79 70 65 64 |IRECTORY|__.typed|
|00000180| 65 66 20 75 6e 73 69 67 | 6e 65 64 20 6c 6f 6e 67 |ef unsig|ned long|
|00000190| 20 20 49 63 6f 6e 53 65 | 6c 65 63 74 6f 72 56 61 | IconSe|lectorVa|
|000001a0| 6c 75 65 3b 0d 23 65 6e | 64 69 66 0d 74 79 70 65 |lue;.#en|dif.type|
|000001b0| 64 65 66 20 73 68 6f 72 | 74 20 20 20 20 20 20 20 |def shor|t |
|000001c0| 20 20 20 49 63 6f 6e 41 | 6c 69 67 6e 6d 65 6e 74 | IconA|lignment|
|000001d0| 54 79 70 65 3b 0d 74 79 | 70 65 64 65 66 20 73 68 |Type;.ty|pedef sh|
|000001e0| 6f 72 74 20 20 20 20 20 | 20 20 20 20 20 49 63 6f |ort | Ico|
|000001f0| 6e 54 72 61 6e 73 66 6f | 72 6d 54 79 70 65 3b 0d |nTransfo|rmType;.|
|00000200| 0d 2f 2a 20 43 20 47 6c | 75 65 20 2a 2f 0d 0d 70 |./* C Gl|ue */..p|
|00000210| 61 73 63 61 6c 20 4f 53 | 45 72 72 20 50 6c 6f 74 |ascal OS|Err Plot|
|00000220| 49 63 6f 6e 49 44 28 63 | 6f 6e 73 74 20 52 65 63 |IconID(c|onst Rec|
|00000230| 74 20 2a 74 68 65 52 65 | 63 74 2c 20 49 63 6f 6e |t *theRe|ct, Icon|
|00000240| 41 6c 69 67 6e 6d 65 6e | 74 54 79 70 65 20 61 6c |Alignmen|tType al|
|00000250| 69 67 6e 2c 0d 20 20 20 | 20 20 20 20 20 20 20 20 |ign,. | |
|00000260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 49 63 6f | | Ico|
|00000270| 6e 54 72 61 6e 73 66 6f | 72 6d 54 79 70 65 20 74 |nTransfo|rmType t|
|00000280| 72 61 6e 73 66 6f 72 6d | 2c 20 73 68 6f 72 74 20 |ransform|, short |
|00000290| 74 68 65 52 65 73 49 44 | 29 0d 20 20 20 20 20 20 |theResID|). |
|000002a0| 20 3d 20 20 7b 30 78 33 | 30 33 43 2c 20 30 78 30 | = {0x3|03C, 0x0|
|000002b0| 35 30 30 2c 20 30 78 41 | 42 43 39 7d 3b 0d 70 61 |500, 0xA|BC9};.pa|
|000002c0| 73 63 61 6c 20 4f 53 45 | 72 72 20 4e 65 77 49 63 |scal OSE|rr NewIc|
|000002d0| 6f 6e 53 75 69 74 65 28 | 48 61 6e 64 6c 65 20 2a |onSuite(|Handle *|
|000002e0| 74 68 65 49 63 6f 6e 53 | 75 69 74 65 29 0d 20 20 |theIconS|uite). |
|000002f0| 20 20 20 20 20 3d 20 20 | 7b 30 78 33 30 33 43 2c | = |{0x303C,|
|00000300| 20 30 78 30 32 30 37 2c | 20 30 78 41 42 43 39 7d | 0x0207,| 0xABC9}|
|00000310| 3b 0d 70 61 73 63 61 6c | 20 4f 53 45 72 72 20 41 |;.pascal| OSErr A|
|00000320| 64 64 49 63 6f 6e 54 6f | 53 75 69 74 65 28 48 61 |ddIconTo|Suite(Ha|
|00000330| 6e 64 6c 65 20 74 68 65 | 49 63 6f 6e 44 61 74 61 |ndle the|IconData|
|00000340| 2c 20 48 61 6e 64 6c 65 | 20 74 68 65 53 75 69 74 |, Handle| theSuit|
|00000350| 65 2c 20 52 65 73 54 79 | 70 65 20 74 68 65 54 79 |e, ResTy|pe theTy|
|00000360| 70 65 29 0d 20 20 20 20 | 20 20 20 3d 20 20 7b 30 |pe). | = {0|
|00000370| 78 33 30 33 43 2c 20 30 | 78 30 36 30 38 2c 20 30 |x303C, 0|x0608, 0|
|00000380| 78 41 42 43 39 7d 3b 0d | 70 61 73 63 61 6c 20 4f |xABC9};.|pascal O|
|00000390| 53 45 72 72 20 47 65 74 | 49 63 6f 6e 46 72 6f 6d |SErr Get|IconFrom|
|000003a0| 53 75 69 74 65 28 48 61 | 6e 64 6c 65 20 2a 74 68 |Suite(Ha|ndle *th|
|000003b0| 65 49 63 6f 6e 44 61 74 | 61 2c 20 48 61 6e 64 6c |eIconDat|a, Handl|
|000003c0| 65 20 74 68 65 53 75 69 | 74 65 2c 20 52 65 73 54 |e theSui|te, ResT|
|000003d0| 79 70 65 20 74 68 65 54 | 79 70 65 29 0d 20 20 20 |ype theT|ype). |
|000003e0| 20 20 20 20 3d 20 20 7b | 30 78 33 30 33 43 2c 20 | = {|0x303C, |
|000003f0| 30 78 30 36 30 39 2c 20 | 30 78 41 42 43 39 7d 3b |0x0609, |0xABC9};|
|00000400| 0d 70 61 73 63 61 6c 20 | 4f 53 45 72 72 20 46 6f |.pascal |OSErr Fo|
|00000410| 72 45 61 63 68 49 63 6f | 6e 44 6f 28 48 61 6e 64 |rEachIco|nDo(Hand|
|00000420| 6c 65 20 74 68 65 53 75 | 69 74 65 2c 20 49 63 6f |le theSu|ite, Ico|
|00000430| 6e 53 65 6c 65 63 74 6f | 72 56 61 6c 75 65 20 73 |nSelecto|rValue s|
|00000440| 65 6c 65 63 74 6f 72 2c | 20 49 63 6f 6e 41 63 74 |elector,| IconAct|
|00000450| 69 6f 6e 20 61 63 74 69 | 6f 6e 2c 0d 20 20 20 20 |ion acti|on,. |
|00000460| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000470| 20 20 20 20 20 20 20 76 | 6f 69 64 20 2a 79 6f 75 | v|oid *you|
|00000480| 72 44 61 74 61 50 74 72 | 29 0d 20 20 20 20 20 20 |rDataPtr|). |
|00000490| 20 3d 20 20 7b 30 78 33 | 30 33 43 2c 20 30 78 30 | = {0x3|03C, 0x0|
|000004a0| 38 30 41 2c 20 30 78 41 | 42 43 39 7d 3b 0d 70 61 |80A, 0xA|BC9};.pa|
|000004b0| 73 63 61 6c 20 4f 53 45 | 72 72 20 47 65 74 49 63 |scal OSE|rr GetIc|
|000004c0| 6f 6e 53 75 69 74 65 28 | 48 61 6e 64 6c 65 20 2a |onSuite(|Handle *|
|000004d0| 74 68 65 49 63 6f 6e 53 | 75 69 74 65 2c 20 73 68 |theIconS|uite, sh|
|000004e0| 6f 72 74 20 74 68 65 52 | 65 73 49 44 2c 20 49 63 |ort theR|esID, Ic|
|000004f0| 6f 6e 53 65 6c 65 63 74 | 6f 72 56 61 6c 75 65 20 |onSelect|orValue |
|00000500| 73 65 6c 65 63 74 6f 72 | 29 0d 20 20 20 20 20 20 |selector|). |
|00000510| 20 3d 20 20 7b 30 78 33 | 30 33 43 2c 20 30 78 30 | = {0x3|03C, 0x0|
|00000520| 35 30 31 2c 20 30 78 41 | 42 43 39 7d 3b 0d 70 61 |501, 0xA|BC9};.pa|
|00000530| 73 63 61 6c 20 4f 53 45 | 72 72 20 44 69 73 70 6f |scal OSE|rr Dispo|
|00000540| 73 65 49 63 6f 6e 53 75 | 69 74 65 28 48 61 6e 64 |seIconSu|ite(Hand|
|00000550| 6c 65 20 74 68 65 49 63 | 6f 6e 53 75 69 74 65 2c |le theIc|onSuite,|
|00000560| 20 42 6f 6f 6c 65 61 6e | 20 64 69 73 70 6f 73 65 | Boolean| dispose|
|00000570| 44 61 74 61 29 0d 20 20 | 20 20 20 20 20 3d 20 20 |Data). | = |
|00000580| 7b 30 78 33 30 33 43 2c | 20 30 78 30 33 30 32 2c |{0x303C,| 0x0302,|
|00000590| 20 30 78 41 42 43 39 7d | 3b 0d 70 61 73 63 61 6c | 0xABC9}|;.pascal|
|000005a0| 20 4f 53 45 72 72 20 50 | 6c 6f 74 49 63 6f 6e 53 | OSErr P|lotIconS|
|000005b0| 75 69 74 65 28 63 6f 6e | 73 74 20 52 65 63 74 20 |uite(con|st Rect |
|000005c0| 2a 74 68 65 52 65 63 74 | 2c 20 49 63 6f 6e 41 6c |*theRect|, IconAl|
|000005d0| 69 67 6e 6d 65 6e 74 54 | 79 70 65 20 61 6c 69 67 |ignmentT|ype alig|
|000005e0| 6e 2c 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |n,. | |
|000005f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 49 63 | | Ic|
|00000600| 6f 6e 54 72 61 6e 73 66 | 6f 72 6d 54 79 70 65 20 |onTransf|ormType |
|00000610| 74 72 61 6e 73 66 6f 72 | 6d 2c 20 48 61 6e 64 6c |transfor|m, Handl|
|00000620| 65 20 74 68 65 49 63 6f | 6e 53 75 69 74 65 29 0d |e theIco|nSuite).|
|00000630| 20 20 20 20 20 20 20 3d | 20 20 7b 30 78 33 30 33 | =| {0x303|
|00000640| 43 2c 20 30 78 30 36 30 | 33 2c 20 30 78 41 42 43 |C, 0x060|3, 0xABC|
|00000650| 39 7d 3b 0d 70 61 73 63 | 61 6c 20 4f 53 45 72 72 |9};.pasc|al OSErr|
|00000660| 20 4d 61 6b 65 49 63 6f | 6e 43 61 63 68 65 28 48 | MakeIco|nCache(H|
|00000670| 61 6e 64 6c 65 20 2a 74 | 68 65 48 61 6e 64 6c 65 |andle *t|heHandle|
|00000680| 2c 20 49 63 6f 6e 47 65 | 74 74 65 72 20 6d 61 6b |, IconGe|tter mak|
|00000690| 65 49 63 6f 6e 2c 20 76 | 6f 69 64 20 2a 79 6f 75 |eIcon, v|oid *you|
|000006a0| 72 44 61 74 61 50 74 72 | 29 0d 20 20 20 20 20 20 |rDataPtr|). |
|000006b0| 20 3d 20 20 7b 30 78 33 | 30 33 43 2c 20 30 78 30 | = {0x3|03C, 0x0|
|000006c0| 36 30 34 2c 20 30 78 41 | 42 43 39 7d 3b 0d 70 61 |604, 0xA|BC9};.pa|
|000006d0| 73 63 61 6c 20 4f 53 45 | 72 72 20 4c 6f 61 64 49 |scal OSE|rr LoadI|
|000006e0| 63 6f 6e 43 61 63 68 65 | 28 63 6f 6e 73 74 20 52 |conCache|(const R|
|000006f0| 65 63 74 20 2a 74 68 65 | 52 65 63 74 2c 20 49 63 |ect *the|Rect, Ic|
|00000700| 6f 6e 41 6c 69 67 6e 6d | 65 6e 74 54 79 70 65 20 |onAlignm|entType |
|00000710| 61 6c 69 67 6e 2c 0d 20 | 20 20 20 20 20 20 20 20 |align,. | |
|00000720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000730| 20 20 49 63 6f 6e 54 72 | 61 6e 73 66 6f 72 6d 54 | IconTr|ansformT|
|00000740| 79 70 65 20 74 72 61 6e | 73 66 6f 72 6d 2c 20 48 |ype tran|sform, H|
|00000750| 61 6e 64 6c 65 20 74 68 | 65 49 63 6f 6e 43 61 63 |andle th|eIconCac|
|00000760| 68 65 29 0d 20 20 20 20 | 20 20 20 3d 20 20 7b 30 |he). | = {0|
|00000770| 78 33 30 33 43 2c 20 30 | 78 30 36 30 36 2c 20 30 |x303C, 0|x0606, 0|
|00000780| 78 41 42 43 39 7d 3b 0d | 70 61 73 63 61 6c 20 4f |xABC9};.|pascal O|
|00000790| 53 45 72 72 20 50 6c 6f | 74 49 63 6f 6e 4d 65 74 |SErr Plo|tIconMet|
|000007a0| 68 6f 64 28 63 6f 6e 73 | 74 20 52 65 63 74 20 2a |hod(cons|t Rect *|
|000007b0| 74 68 65 52 65 63 74 2c | 20 49 63 6f 6e 41 6c 69 |theRect,| IconAli|
|000007c0| 67 6e 6d 65 6e 74 54 79 | 70 65 20 61 6c 69 67 6e |gnmentTy|pe align|
|000007d0| 2c 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,. | |
|000007e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 49 63 | | Ic|
|000007f0| 6f 6e 54 72 61 6e 73 66 | 6f 72 6d 54 79 70 65 20 |onTransf|ormType |
|00000800| 74 72 61 6e 73 66 6f 72 | 6d 2c 20 49 63 6f 6e 47 |transfor|m, IconG|
|00000810| 65 74 74 65 72 20 74 68 | 65 4d 65 74 68 6f 64 2c |etter th|eMethod,|
|00000820| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000830| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 76 6f 69 | | voi|
|00000840| 64 20 2a 79 6f 75 72 44 | 61 74 61 50 74 72 29 0d |d *yourD|ataPtr).|
|00000850| 20 20 20 20 20 20 20 3d | 20 20 7b 30 78 33 30 33 | =| {0x303|
|00000860| 43 2c 20 30 78 30 38 30 | 35 2c 20 30 78 41 42 43 |C, 0x080|5, 0xABC|
|00000870| 39 7d 3b 0d 70 61 73 63 | 61 6c 20 4f 53 45 72 72 |9};.pasc|al OSErr|
|00000880| 20 47 65 74 4c 61 62 65 | 6c 28 73 68 6f 72 74 20 | GetLabe|l(short |
|00000890| 6c 61 62 65 6c 4e 75 6d | 62 65 72 2c 20 52 47 42 |labelNum|ber, RGB|
|000008a0| 43 6f 6c 6f 72 20 2a 6c | 61 62 65 6c 43 6f 6c 6f |Color *l|abelColo|
|000008b0| 72 2c 20 53 74 72 32 35 | 35 20 6c 61 62 65 6c 53 |r, Str25|5 labelS|
|000008c0| 74 72 69 6e 67 29 0d 20 | 20 20 20 20 20 20 3d 20 |tring). | = |
|000008d0| 20 7b 30 78 33 30 33 63 | 2c 20 30 78 30 35 30 42 | {0x303c|, 0x050B|
|000008e0| 2c 20 30 78 41 42 43 39 | 7d 3b 0d 70 61 73 63 61 |, 0xABC9|};.pasca|
|000008f0| 6c 20 42 6f 6f 6c 65 61 | 6e 20 50 74 49 6e 49 63 |l Boolea|n PtInIc|
|00000900| 6f 6e 49 44 28 50 6f 69 | 6e 74 20 74 65 73 74 50 |onID(Poi|nt testP|
|00000910| 74 2c 20 52 65 63 74 20 | 2a 69 63 6f 6e 52 65 63 |t, Rect |*iconRec|
|00000920| 74 2c 20 49 63 6f 6e 41 | 6c 69 67 6e 6d 65 6e 74 |t, IconA|lignment|
|00000930| 54 79 70 65 20 61 6c 69 | 67 6e 6d 65 6e 74 2c 0d |Type ali|gnment,.|
|00000940| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000950| 20 20 20 20 20 20 20 20 | 20 20 73 68 6f 72 74 20 | | short |
|00000960| 69 63 6f 6e 49 44 29 0d | 20 20 20 20 20 20 20 3d |iconID).| =|
|00000970| 20 20 7b 30 78 33 30 33 | 63 2c 20 30 78 30 36 30 | {0x303|c, 0x060|
|00000980| 44 2c 20 30 78 41 42 43 | 39 7d 3b 0d 70 61 73 63 |D, 0xABC|9};.pasc|
|00000990| 61 6c 20 42 6f 6f 6c 65 | 61 6e 20 50 74 49 6e 49 |al Boole|an PtInI|
|000009a0| 63 6f 6e 53 75 69 74 65 | 28 50 6f 69 6e 74 20 74 |conSuite|(Point t|
|000009b0| 65 73 74 50 74 2c 20 52 | 65 63 74 20 2a 69 63 6f |estPt, R|ect *ico|
|000009c0| 6e 52 65 63 74 2c 20 49 | 63 6f 6e 41 6c 69 67 6e |nRect, I|conAlign|
|000009d0| 6d 65 6e 74 54 79 70 65 | 20 61 6c 69 67 6e 6d 65 |mentType| alignme|
|000009e0| 6e 74 2c 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |nt,. | |
|000009f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a00| 20 48 61 6e 64 6c 65 20 | 74 68 65 49 63 6f 6e 53 | Handle |theIconS|
|00000a10| 75 69 74 65 29 0d 20 20 | 20 20 20 20 20 3d 20 20 |uite). | = |
|00000a20| 7b 30 78 33 30 33 63 2c | 20 30 78 30 37 30 45 2c |{0x303c,| 0x070E,|
|00000a30| 20 30 78 41 42 43 39 7d | 3b 0d 70 61 73 63 61 6c | 0xABC9}|;.pascal|
|00000a40| 20 42 6f 6f 6c 65 61 6e | 20 50 74 49 6e 49 63 6f | Boolean| PtInIco|
|00000a50| 6e 4d 65 74 68 6f 64 28 | 50 6f 69 6e 74 20 74 65 |nMethod(|Point te|
|00000a60| 73 74 50 74 2c 20 52 65 | 63 74 20 2a 69 63 6f 6e |stPt, Re|ct *icon|
|00000a70| 52 65 63 74 2c 20 49 63 | 6f 6e 41 6c 69 67 6e 6d |Rect, Ic|onAlignm|
|00000a80| 65 6e 74 54 79 70 65 20 | 61 6c 69 67 6e 6d 65 6e |entType |alignmen|
|00000a90| 74 2c 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t,. | |
|00000aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ab0| 20 49 63 6f 6e 47 65 74 | 74 65 72 20 74 68 65 4d | IconGet|ter theM|
|00000ac0| 65 74 68 6f 64 2c 20 76 | 6f 69 64 20 2a 79 6f 75 |ethod, v|oid *you|
|00000ad0| 72 44 61 74 61 50 74 72 | 29 0d 20 20 20 20 20 20 |rDataPtr|). |
|00000ae0| 20 3d 20 20 7b 30 78 33 | 30 33 63 2c 20 30 78 30 | = {0x3|03c, 0x0|
|00000af0| 39 30 46 2c 20 30 78 41 | 42 43 39 7d 3b 0d 70 61 |90F, 0xA|BC9};.pa|
|00000b00| 73 63 61 6c 20 42 6f 6f | 6c 65 61 6e 20 52 65 63 |scal Boo|lean Rec|
|00000b10| 74 49 6e 49 63 6f 6e 49 | 44 28 52 65 63 74 20 2a |tInIconI|D(Rect *|
|00000b20| 74 65 73 74 52 65 63 74 | 2c 20 52 65 63 74 20 2a |testRect|, Rect *|
|00000b30| 69 63 6f 6e 52 65 63 74 | 2c 20 49 63 6f 6e 41 6c |iconRect|, IconAl|
|00000b40| 69 67 6e 6d 65 6e 74 54 | 79 70 65 20 61 6c 69 67 |ignmentT|ype alig|
|00000b50| 6e 6d 65 6e 74 2c 0d 20 | 20 20 20 20 20 20 20 20 |nment,. | |
|00000b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b70| 20 20 20 73 68 6f 72 74 | 20 69 63 6f 6e 49 44 29 | short| iconID)|
|00000b80| 0d 20 20 20 20 20 20 20 | 3d 20 20 7b 30 78 33 30 |. |= {0x30|
|00000b90| 33 63 2c 20 30 78 30 36 | 31 30 2c 20 30 78 41 42 |3c, 0x06|10, 0xAB|
|00000ba0| 43 39 7d 3b 0d 70 61 73 | 63 61 6c 20 42 6f 6f 6c |C9};.pas|cal Bool|
|00000bb0| 65 61 6e 20 52 65 63 74 | 49 6e 49 63 6f 6e 53 75 |ean Rect|InIconSu|
|00000bc0| 69 74 65 28 52 65 63 74 | 20 2a 74 65 73 74 52 65 |ite(Rect| *testRe|
|00000bd0| 63 74 2c 20 52 65 63 74 | 20 2a 69 63 6f 6e 52 65 |ct, Rect| *iconRe|
|00000be0| 63 74 2c 20 49 63 6f 6e | 41 6c 69 67 6e 6d 65 6e |ct, Icon|Alignmen|
|00000bf0| 74 54 79 70 65 20 61 6c | 69 67 6e 6d 65 6e 74 2c |tType al|ignment,|
|00000c00| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c20| 48 61 6e 64 6c 65 20 74 | 68 65 49 63 6f 6e 53 75 |Handle t|heIconSu|
|00000c30| 69 74 65 29 0d 20 20 20 | 20 20 20 20 3d 20 20 7b |ite). | = {|
|00000c40| 30 78 33 30 33 63 2c 20 | 30 78 30 37 31 31 2c 20 |0x303c, |0x0711, |
|00000c50| 30 78 41 42 43 39 7d 3b | 0d 70 61 73 63 61 6c 20 |0xABC9};|.pascal |
|00000c60| 42 6f 6f 6c 65 61 6e 20 | 52 65 63 74 49 6e 49 63 |Boolean |RectInIc|
|00000c70| 6f 6e 4d 65 74 68 6f 64 | 28 52 65 63 74 20 2a 74 |onMethod|(Rect *t|
|00000c80| 65 73 74 52 65 63 74 2c | 20 52 65 63 74 20 2a 69 |estRect,| Rect *i|
|00000c90| 63 6f 6e 52 65 63 74 2c | 20 49 63 6f 6e 41 6c 69 |conRect,| IconAli|
|00000ca0| 67 6e 6d 65 6e 74 54 79 | 70 65 20 61 6c 69 67 6e |gnmentTy|pe align|
|00000cb0| 6d 65 6e 74 2c 0d 20 20 | 20 20 20 20 20 20 20 20 |ment,. | |
|00000cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000cd0| 20 20 20 20 20 20 49 63 | 6f 6e 47 65 74 74 65 72 | Ic|onGetter|
|00000ce0| 20 74 68 65 4d 65 74 68 | 6f 64 2c 20 76 6f 69 64 | theMeth|od, void|
|00000cf0| 20 2a 79 6f 75 72 44 61 | 74 61 50 74 72 29 0d 20 | *yourDa|taPtr). |
|00000d00| 20 20 20 20 20 20 3d 20 | 20 7b 30 78 33 30 33 63 | = | {0x303c|
|00000d10| 2c 20 30 78 30 39 31 32 | 2c 20 30 78 41 42 43 39 |, 0x0912|, 0xABC9|
|00000d20| 7d 3b 0d 70 61 73 63 61 | 6c 20 4f 53 45 72 72 20 |};.pasca|l OSErr |
|00000d30| 49 63 6f 6e 49 44 54 6f | 52 67 6e 28 52 67 6e 48 |IconIDTo|Rgn(RgnH|
|00000d40| 61 6e 64 6c 65 20 74 68 | 65 52 67 6e 2c 20 52 65 |andle th|eRgn, Re|
|00000d50| 63 74 20 2a 69 63 6f 6e | 52 65 63 74 2c 20 49 63 |ct *icon|Rect, Ic|
|00000d60| 6f 6e 41 6c 69 67 6e 6d | 65 6e 74 54 79 70 65 20 |onAlignm|entType |
|00000d70| 61 6c 69 67 6e 6d 65 6e | 74 2c 0d 20 20 20 20 20 |alignmen|t,. |
|00000d80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000d90| 20 20 20 20 73 68 6f 72 | 74 20 69 63 6f 6e 49 44 | shor|t iconID|
|00000da0| 29 0d 20 20 20 20 20 20 | 20 3d 20 20 7b 30 78 33 |). | = {0x3|
|00000db0| 30 33 63 2c 20 30 78 30 | 36 31 33 2c 20 30 78 41 |03c, 0x0|613, 0xA|
|00000dc0| 42 43 39 7d 3b 0d 70 61 | 73 63 61 6c 20 4f 53 45 |BC9};.pa|scal OSE|
|00000dd0| 72 72 20 49 63 6f 6e 53 | 75 69 74 65 54 6f 52 67 |rr IconS|uiteToRg|
|00000de0| 6e 28 52 67 6e 48 61 6e | 64 6c 65 20 74 68 65 52 |n(RgnHan|dle theR|
|00000df0| 67 6e 2c 20 52 65 63 74 | 20 2a 69 63 6f 6e 52 65 |gn, Rect| *iconRe|
|00000e00| 63 74 2c 20 49 63 6f 6e | 41 6c 69 67 6e 6d 65 6e |ct, Icon|Alignmen|
|00000e10| 74 54 79 70 65 20 61 6c | 69 67 6e 6d 65 6e 74 2c |tType al|ignment,|
|00000e20| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000e30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 48 61 6e | | Han|
|00000e40| 64 6c 65 20 74 68 65 49 | 63 6f 6e 53 75 69 74 65 |dle theI|conSuite|
|00000e50| 29 0d 20 20 20 20 20 20 | 20 3d 20 20 7b 30 78 33 |). | = {0x3|
|00000e60| 30 33 63 2c 20 30 78 30 | 37 31 34 2c 20 30 78 41 |03c, 0x0|714, 0xA|
|00000e70| 42 43 39 7d 3b 0d 0c 70 | 61 73 63 61 6c 20 4f 53 |BC9};..p|ascal OS|
|00000e80| 45 72 72 20 49 63 6f 6e | 4d 65 74 68 6f 64 54 6f |Err Icon|MethodTo|
|00000e90| 52 67 6e 28 52 67 6e 48 | 61 6e 64 6c 65 20 74 68 |Rgn(RgnH|andle th|
|00000ea0| 65 52 67 6e 2c 20 52 65 | 63 74 20 2a 69 63 6f 6e |eRgn, Re|ct *icon|
|00000eb0| 52 65 63 74 2c 20 49 63 | 6f 6e 41 6c 69 67 6e 6d |Rect, Ic|onAlignm|
|00000ec0| 65 6e 74 54 79 70 65 20 | 61 6c 69 67 6e 6d 65 6e |entType |alignmen|
|00000ed0| 74 2c 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t,. | |
|00000ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ef0| 49 63 6f 6e 47 65 74 74 | 65 72 20 74 68 65 4d 65 |IconGett|er theMe|
|00000f00| 74 68 6f 64 2c 20 76 6f | 69 64 20 2a 79 6f 75 72 |thod, vo|id *your|
|00000f10| 44 61 74 61 50 74 72 29 | 0d 20 20 20 20 20 20 20 |DataPtr)|. |
|00000f20| 3d 20 20 7b 30 78 33 30 | 33 63 2c 20 30 78 30 39 |= {0x30|3c, 0x09|
|00000f30| 31 35 2c 20 30 78 41 42 | 43 39 7d 3b 0d 70 61 73 |15, 0xAB|C9};.pas|
|00000f40| 63 61 6c 20 4f 53 45 72 | 72 20 53 65 74 53 75 69 |cal OSEr|r SetSui|
|00000f50| 74 65 4c 61 62 65 6c 28 | 48 61 6e 64 6c 65 20 74 |teLabel(|Handle t|
|00000f60| 68 65 53 75 69 74 65 2c | 20 73 68 6f 72 74 20 74 |heSuite,| short t|
|00000f70| 68 65 4c 61 62 65 6c 29 | 0d 20 20 20 20 20 20 20 |heLabel)|. |
|00000f80| 3d 20 20 7b 30 78 33 30 | 33 43 2c 20 30 78 30 33 |= {0x30|3C, 0x03|
|00000f90| 31 36 2c 20 30 78 41 42 | 43 39 7d 3b 0d 70 61 73 |16, 0xAB|C9};.pas|
|00000fa0| 63 61 6c 20 73 68 6f 72 | 74 20 47 65 74 53 75 69 |cal shor|t GetSui|
|00000fb0| 74 65 4c 61 62 65 6c 28 | 48 61 6e 64 6c 65 20 74 |teLabel(|Handle t|
|00000fc0| 68 65 53 75 69 74 65 29 | 0d 20 20 20 20 20 20 20 |heSuite)|. |
|00000fd0| 3d 20 20 7b 30 78 33 30 | 33 43 2c 20 30 78 30 32 |= {0x30|3C, 0x02|
|00000fe0| 31 37 2c 20 30 78 41 42 | 43 39 7d 3b 0d 70 61 73 |17, 0xAB|C9};.pas|
|00000ff0| 63 61 6c 20 4f 53 45 72 | 72 20 47 65 74 49 63 6f |cal OSEr|r GetIco|
|00001000| 6e 43 61 63 68 65 44 61 | 74 61 28 48 61 6e 64 6c |nCacheDa|ta(Handl|
|00001010| 65 20 74 68 65 43 61 63 | 68 65 2c 20 76 6f 69 64 |e theCac|he, void|
|00001020| 20 2a 2a 74 68 65 44 61 | 74 61 29 0d 20 20 20 20 | **theDa|ta). |
|00001030| 20 20 20 3d 20 20 7b 30 | 78 33 30 33 43 2c 20 30 | = {0|x303C, 0|
|00001040| 78 30 34 31 39 2c 20 30 | 78 41 42 43 39 7d 3b 0d |x0419, 0|xABC9};.|
|00001050| 70 61 73 63 61 6c 20 4f | 53 45 72 72 20 53 65 74 |pascal O|SErr Set|
|00001060| 49 63 6f 6e 43 61 63 68 | 65 44 61 74 61 28 48 61 |IconCach|eData(Ha|
|00001070| 6e 64 6c 65 20 74 68 65 | 43 61 63 68 65 2c 20 76 |ndle the|Cache, v|
|00001080| 6f 69 64 20 2a 74 68 65 | 44 61 74 61 29 0d 20 20 |oid *the|Data). |
|00001090| 20 20 20 20 20 3d 20 20 | 7b 30 78 33 30 33 43 2c | = |{0x303C,|
|000010a0| 20 30 78 30 34 31 41 2c | 20 30 78 41 42 43 39 7d | 0x041A,| 0xABC9}|
|000010b0| 3b 0d 70 61 73 63 61 6c | 20 4f 53 45 72 72 20 47 |;.pascal| OSErr G|
|000010c0| 65 74 49 63 6f 6e 43 61 | 63 68 65 50 72 6f 63 28 |etIconCa|cheProc(|
|000010d0| 48 61 6e 64 6c 65 20 74 | 68 65 43 61 63 68 65 2c |Handle t|heCache,|
|000010e0| 20 49 63 6f 6e 47 65 74 | 74 65 72 20 2a 74 68 65 | IconGet|ter *the|
|000010f0| 50 72 6f 63 29 0d 20 20 | 20 20 20 20 20 3d 20 20 |Proc). | = |
|00001100| 7b 30 78 33 30 33 43 2c | 20 30 78 30 34 31 42 2c |{0x303C,| 0x041B,|
|00001110| 20 30 78 41 42 43 39 7d | 3b 0d 70 61 73 63 61 6c | 0xABC9}|;.pascal|
|00001120| 20 4f 53 45 72 72 20 53 | 65 74 49 63 6f 6e 43 61 | OSErr S|etIconCa|
|00001130| 63 68 65 50 72 6f 63 28 | 48 61 6e 64 6c 65 20 74 |cheProc(|Handle t|
|00001140| 68 65 43 61 63 68 65 2c | 20 49 63 6f 6e 47 65 74 |heCache,| IconGet|
|00001150| 74 65 72 20 74 68 65 50 | 72 6f 63 29 0d 20 20 20 |ter theP|roc). |
|00001160| 20 20 20 20 3d 20 20 7b | 30 78 33 30 33 43 2c 20 | = {|0x303C, |
|00001170| 30 78 30 34 31 43 2c 20 | 30 78 41 42 43 39 7d 3b |0x041C, |0xABC9};|
|00001180| 0d 70 61 73 63 61 6c 20 | 4f 53 45 72 72 20 50 6c |.pascal |OSErr Pl|
|00001190| 6f 74 49 63 6f 6e 48 61 | 6e 64 6c 65 28 63 6f 6e |otIconHa|ndle(con|
|000011a0| 73 74 20 52 65 63 74 20 | 2a 74 68 65 52 65 63 74 |st Rect |*theRect|
|000011b0| 2c 20 49 63 6f 6e 41 6c | 69 67 6e 6d 65 6e 74 54 |, IconAl|ignmentT|
|000011c0| 79 70 65 20 61 6c 69 67 | 6e 2c 0d 20 20 20 20 20 |ype alig|n,. |
|000011d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000011e0| 20 20 20 20 20 20 20 49 | 63 6f 6e 54 72 61 6e 73 | I|conTrans|
|000011f0| 66 6f 72 6d 54 79 70 65 | 20 74 72 61 6e 73 66 6f |formType| transfo|
|00001200| 72 6d 2c 20 48 61 6e 64 | 6c 65 20 74 68 65 49 63 |rm, Hand|le theIc|
|00001210| 6f 6e 29 0d 20 20 20 20 | 20 20 20 3d 20 20 7b 30 |on). | = {0|
|00001220| 78 33 30 33 43 2c 20 30 | 78 30 36 31 44 2c 20 30 |x303C, 0|x061D, 0|
|00001230| 78 41 42 43 39 7d 3b 0d | 70 61 73 63 61 6c 20 4f |xABC9};.|pascal O|
|00001240| 53 45 72 72 20 50 6c 6f | 74 53 49 43 4e 48 61 6e |SErr Plo|tSICNHan|
|00001250| 64 6c 65 28 63 6f 6e 73 | 74 20 52 65 63 74 20 2a |dle(cons|t Rect *|
|00001260| 74 68 65 52 65 63 74 2c | 20 49 63 6f 6e 41 6c 69 |theRect,| IconAli|
|00001270| 67 6e 6d 65 6e 74 54 79 | 70 65 20 61 6c 69 67 6e |gnmentTy|pe align|
|00001280| 2c 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,. | |
|00001290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 49 63 | | Ic|
|000012a0| 6f 6e 54 72 61 6e 73 66 | 6f 72 6d 54 79 70 65 20 |onTransf|ormType |
|000012b0| 74 72 61 6e 73 66 6f 72 | 6d 2c 20 48 61 6e 64 6c |transfor|m, Handl|
|000012c0| 65 20 74 68 65 53 49 43 | 4e 29 0d 20 20 20 20 20 |e theSIC|N). |
|000012d0| 20 20 3d 20 20 7b 30 78 | 33 30 33 43 2c 20 30 78 | = {0x|303C, 0x|
|000012e0| 30 36 31 45 2c 20 30 78 | 41 42 43 39 7d 3b 0d 70 |061E, 0x|ABC9};.p|
|000012f0| 61 73 63 61 6c 20 4f 53 | 45 72 72 20 50 6c 6f 74 |ascal OS|Err Plot|
|00001300| 43 49 63 6f 6e 48 61 6e | 64 6c 65 28 63 6f 6e 73 |CIconHan|dle(cons|
|00001310| 74 20 52 65 63 74 20 2a | 74 68 65 52 65 63 74 2c |t Rect *|theRect,|
|00001320| 20 49 63 6f 6e 41 6c 69 | 67 6e 6d 65 6e 74 54 79 | IconAli|gnmentTy|
|00001330| 70 65 20 61 6c 69 67 6e | 2c 0d 20 20 20 20 20 20 |pe align|,. |
|00001340| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001350| 20 20 20 20 20 20 20 49 | 63 6f 6e 54 72 61 6e 73 | I|conTrans|
|00001360| 66 6f 72 6d 54 79 70 65 | 20 74 72 61 6e 73 66 6f |formType| transfo|
|00001370| 72 6d 2c 20 43 49 63 6f | 6e 48 61 6e 64 6c 65 20 |rm, CIco|nHandle |
|00001380| 74 68 65 43 49 63 6f 6e | 29 0d 20 20 20 20 20 20 |theCIcon|). |
|00001390| 20 3d 20 20 7b 30 78 33 | 30 33 43 2c 20 30 78 30 | = {0x3|03C, 0x0|
|000013a0| 36 31 46 2c 20 30 78 41 | 42 43 39 7d 3b 0d 00 00 |61F, 0xA|BC9};...|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00001410| 00 00 04 e7 04 6d 79 64 | 61 81 01 00 00 00 00 06 |.....myd|a.......|
|00001420| 00 00 05 1b a5 1f 89 73 | a7 c6 8c d4 00 00 00 00 |.......s|........|
|00001430| 0c 49 63 6f 6e 53 75 69 | 74 65 73 2e 68 fa 02 00 |.IconSui|tes.h...|
|00001440| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 01 04 00 00 |..TEXTKA|HL......|
|00001450| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 01 04 00 00 |..TEXTKA|HL......|
|00001460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001470| 00 00 a7 c4 ea e9 00 00 | 13 2e 00 00 01 ac a7 c6 |........|........|
|00001480| 8c d4 00 00 00 00 00 a8 | 00 35 01 ca 01 2b 01 00 |........|.5...+..|
|00001490| 00 8b 00 2c 01 40 ff f8 | ff f0 00 00 00 5c 00 00 |...,.@..|.....\..|
|000014a0| 80 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014b0| 00 00 00 00 00 00 10 00 | 00 00 04 e7 0a 50 61 74 |........|.....Pat|
|000014c0| 63 68 50 61 74 63 68 74 | 01 00 00 00 00 05 00 00 |chPatcht|........|
|000014d0| 45 d0 a6 77 7c 1b a7 c6 | 8c d4 00 00 00 00 00 6d |E..w|...|.......m|
|000014e0| 01 2f 01 87 02 19 01 00 | 00 b4 00 00 01 40 ff f8 |./......|.....@..|
|000014f0| ff f0 00 00 00 00 00 00 | 80 00 00 00 0c ef 00 00 |........|........|
|00001500| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 20 49 6e |...H..Mo|naco. In|
|00001510| 63 2e 20 31 39 38 36 2d | 31 39 38 38 0d 23 09 41 |c. 1986-|1988.#.A|
|00001520| 6c 6c 20 52 69 67 00 06 | 00 04 00 3c 00 24 03 63 |ll Rig..|...<.$.c|
|00001530| 04 3d 00 3c 00 24 03 63 | 04 3d a8 62 f5 42 00 00 |.=.<.$.c|.=.b.B..|
|00001540| 00 fb 00 00 00 fb 00 00 | 00 00 01 00 00 00 00 1e |........|........|
|00001550| 00 3c 00 24 03 63 04 3d | 00 3c 00 24 03 63 04 3d |.<.$.c.=|.<.$.c.=|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 00 e3 |.....n..|.n...>..|
|00001580| 6e c8 10 88 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |n.......|.>..MPSR|
|00001590| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 03 f0 ff ff 00 00 00 4c | 00 e9 69 40 00 00 00 00 |.......L|..i@....|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+